
        <div class="tableform">
        <div class="division">
        <input type='hidden' name='delivery_id' value='<{$payments.delivery_id}>'>
            <table cellpadding="0" cellspacing="0" border="0">
        <tr>
        <th><label><{t}>发货单号：<{/t}></label></th><td><{$payments.delivery_id}></td>
        <th><label><{t}>订单号：<{/t}></label></th><td><{$payments.order_id}></td>
        <th><label><{t}>配送方式：<{/t}></label></th><td><{$payments.delivery}></td>
        <th><label><{t}>操作员：<{/t}></label></th><td><{$payments.op_name}></td>
        </tr>
        <tr>
        <th><label><{t}>会员：<{/t}></label></th><td><{$payments.member_id}></td>
        <!--  <th><label><{t}>配送时间:<{/t}></label><th><td><{$payments.t_end|cdate:SDATE_STIME}></td>-->
        <th><label><{t}>收货人：<{/t}></label></th><td><{$payments.ship_name}></td>
        <th><label><{t}>收货地区：<{/t}></label></th><td colspan="5"><{$payments.ship_area|region}></td>
        </tr>
 <tr>
        <th><label><{t}>邮编：<{/t}></label></th><td><{$payments.ship_zip}></td>
        <th><label><{t}>电话：<{/t}></label></th><td><{$payments.ship_tel}></td>
        <th><label><{t}>手机：<{/t}></label></th><td><{$payments.ship_mobile}></td>
        <th><label><{t}>物流公司：<{/t}></label></th><td><{$payments.logi_name}></td>
        </tr>
        <tr>
        <th><label><{t}>物流费用：<{/t}></label></th><td><{$payments.money|cur_odr}></td>
        <th><label><{t}>物流单号：<{/t}></label></th><td><{$payments.logi_no}></td>
        <th><label><{t}>生成时间：<{/t}></label></th><td colspan="3"><{$payments.t_begin|cdate:SDATE_STIME}></td>
        </tr>
        <tr>
        <th><label><{t}>收货地址：<{/t}></label></th><td colspan="7"><{$payments.ship_addr}></td>
        </tr>
        </table>
		</div>
		<{if count($payments.delivery_items) > 0}>
		<div class="tableform">
		<h3><{t}>发货明细<{/t}></h3>
			<table width="100%" border="0" cellspacing="0" cellpadding="0" class="gridlist">
				<col class="Colsn" style="width:10%"></col>
                <col style="width:20%"/>
				<col class="Colname" style="width:25%"></col>
				<col style="width:5%"></col>
				<col class="Colamount" style="width:40%"></col>
                <col/>
				<thead>
					<tr>
						<th><{t}>货号<{/t}></th>
						<th><{t}>发货内容<{/t}></th>
						<th><{t}>商品名称<{/t}></th>
						<th><{t}>发货量<{/t}></th>
                        <th><{t}>批次号<{/t}></th><!--add by allen-->
                        <th><{t}>备注<{/t}></th>
					</tr>
				</thead>
				<tbody>
					<{foreach from=$payments.delivery_items item=aProduct}>
				<tr>
					<td><{$aProduct.product_bn}></td>
					<td><{if $aProduct.item_type == 'gift'}><{t}>赠品<{/t}><{else}><{t}>商品<{/t}><{/if}></td>

					<td><{$aProduct.product_name}></td>
					<td class="Colamount"><{$aProduct.number}></td>
                    
                    <td><{$aProduct.batch_name}></td><!--add by allen-->
                    <td><{$payments.memo}></td>
				</tr>
				<{/foreach}>
				</tbody>
			</table>

		  </div>
		  <{/if}>
	  </div>
